<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href="../styles/style001.css" type="text/css" /><title></title></head><body><h1 id="heading_id_54"><span class="bold">What is a test case</span></h1><p>A test case is a class which holds a number<br />of test methods. For example if you want to test some methods of a<br />class <span class="italic">Book</span> you create a class <span class="italic">BookTest</span> which extends<br />the JUnit <span class="italic">TestCase</span> class and place your test methods in there.</p></body></html>